/**
 * 
 */

package com.tenentia.pcmps.swm.util.pdf;

import java.util.Map;

import org.apache.log4j.Logger;

import com.tenentia.pcmps.swm.data.beans.PDFTemplate;

/**
 * @author tEnEntia, S.L.N.E.
 * 
 */
public abstract class AbstractPDFGenerator implements PDFGenerator {

	protected static final Logger LOGGER = Logger.getLogger(AbstractPDFGenerator.class.getPackage().getName());

	/**
	 * 
	 */
	public AbstractPDFGenerator() {

		super();
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.tenentia.pcmps.swm.util.pdf.PDFGenerator#generate(java.util.Map)
	 */
	@Override
	public abstract byte[] generate(Map<String, Object> parameters) throws PDFGeneratorException;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.tenentia.pcmps.swm.util.pdf.PDFGenerator#test(com.tenentia.pcmps.swm.data.beans.PDFTemplate)
	 */
	@Override
	public abstract byte[] test(PDFTemplate template) throws PDFGeneratorException;

}
